package se3a04.mcmapster;

import android.widget.Button;
import android.os.Bundle;
import android.view.View;
import android.app.Activity;
import android.content.Intent;


public class ModeChangeControl extends Activity
{
	@Override
	public void onCreate(Bundle savedInstanceState) 
	{
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.menu);
	
	
	Button freeexp, tour, scavenger;
	
	freeexp = (Button) findViewById (R.id.bfreeexplore);
	tour = (Button) findViewById (R.id.btourmode);
	scavenger = (Button) findViewById (R.id.bscavengermode);
	freeexp.setOnClickListener(new View.OnClickListener(){
		public void onClick(View v){
			
			Intent intent = new Intent("se3a04.mcmapster.MAPS");
			startActivity(intent);
		}
	});
	
	tour.setOnClickListener(new View.OnClickListener(){
		public void onClick(View v){
			
		}
	});
	
	scavenger.setOnClickListener(new View.OnClickListener(){
		public void onClick(View v)
		{
		//	Intent intent = new Intent("se3a04.mcmapster.HUNTCONTROLLER");
			//startActivity(intent);
		}
	});
	
	}
}